package com.ztc.ZtcDriver.bean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
import com.aqgj.util.BaseEntity;

import java.util.Date;

@Entity
@Table(name = "ztc_driver")
public class ZtcDriver implements BaseEntity{

    private String id;//

    private String dName;//姓名

    private String phone;//手机号码

    private String status;//状态(1正常,2待审核,3冻结,4审核未通过,5车方注册状态)

    private String driverCard ;//身份证号

    private java.util.Date beginValidateTime;//审核通过开始时间

    private java.util.Date endValidateTime;//审核通过结束时间

    private String examineUserId;//审核用户

    private Date examineTime;//审核时间

    private String examineRemark;//审核意见

    private String modifyRemark;//修改意见

    private String transportId;//所属公司id

    private Date signTime;//注册时间

    public void setId(String value){
        this.id = value;
    }
    public void setdName(String value){
        this.dName = value;
    }
    public void setPhone(String value){
        this.phone = value;
    }
    public void setStatus(String value){
        this.status = value;
    }
    public void setBeginValidateTime(java.util.Date value){
        this.beginValidateTime = value;
    }
    public void setEndValidateTime(java.util.Date value){
        this.endValidateTime = value;
    }
    public void setExamineRemark(String value){
        this.examineRemark = value;
    }
    public void setModifyRemark(String value){
        this.modifyRemark = value;
    }
    public void setTransportId(String value){
        this.transportId = value;
    }
    public void setExamineTime(Date examineTime) { this.examineTime = examineTime;}
    public void setExamineUserId(String examineUserId) { this.examineUserId = examineUserId;}
    public void setDriverCard(String driverCard) { this.driverCard = driverCard;}
    public void setSignTime(Date signTime) {this.signTime = signTime;}

    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="name",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getdName(){
        return this.dName;
    }
    @Column(name ="phone",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getPhone(){
        return this.phone;
    }
    @Column(name ="status",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public String getStatus(){
        return this.status;
    }
    @Column(name ="begin_validate_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getBeginValidateTime(){
        return this.beginValidateTime;
    }
    @Column(name ="end_validate_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getEndValidateTime(){
        return this.endValidateTime;
    }
    @Column(name ="examine_remark",unique=false,nullable=true,insertable=true,updatable=true,length=255)
    public String getExamineRemark(){
        return this.examineRemark;
    }
    @Column(name ="modify_remark",unique=false,nullable=true,insertable=true,updatable=true,length=255)
    public String getModifyRemark(){
        return this.modifyRemark;
    }
    @Column(name ="transport_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getTransportId(){
        return this.transportId;
    }
    @Column(name ="examine_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public Date getExamineTime() { return examineTime;}
    @Column(name ="examine_user_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getExamineUserId() { return examineUserId; }
    @Column(name ="driver_card",unique=false,nullable=true,insertable=true,updatable=true,length=30)
    public String getDriverCard() { return driverCard; }
    @Column(name ="sign_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public Date getSignTime() { return signTime;}
}
